//
//  WatchDetailBaseModel_Info_BaseInfo.m
//  ZITHER
//
//  Created by imac on 2018/5/3.
//  Copyright © 2018年 MS1968. All rights reserved.
//

#import "WatchDetailBaseModel_Info_BaseInfo.h"
#define kIMAGE_URL_PREFIX @"http://mtime-1252014125.file.myqcloud.com"
#define kIMAGE_URL(url) kSTRING_FORMAT(@"%@%@",kIMAGE_URL_PREFIX, url)

@implementation WatchDetailBaseModel_Info_BaseInfo
+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"officalPriceInfo": [WatchDetailBaseModel_Info_BaseInfo_OfficalPriceInfo class]};
}
- (NSString *)image_default {
    return kIMAGE_URL(_image_default);
  
}
- (NSArray<NSString *> *)pictureInfo {
    if (_pictureInfo.count > 0) {
        NSMutableArray<NSString *> *imageURLArrM = [NSMutableArray arrayWithCapacity:_pictureInfo.count];
        for (NSString *imagePath in _pictureInfo) {
            if (![imageURLArrM containsObject:imagePath]) {
                [imageURLArrM addObject:kIMAGE_URL(imagePath)];
            }
        }
        return imageURLArrM.copy;
    }
    return _pictureInfo;
}
@end
//
@implementation WatchDetailBaseModel_Info_BaseInfo_OfficalPriceInfo

@end
